/******************************************************************
 * @version      : 1.0
 * @Author       : zhl
 * @Date         : 2023-06-26 14:13:21
 * @LastEditors  : zhl
 * @E-Mail       : zhll168@163.com
 * @Description  : 业务描述
 ******************************************************************/
#ifndef __LINK_RESPONSE_H__
#define __LINK_RESPONSE_H__
#include <stdint.h>
#include "DLT698-Frame.h"

class LinkResponse
{
private:
    /* data */
    static LinkResponse c_link_response;
public:
    LinkResponse(/* args */);
    ~LinkResponse();

    static LinkResponse& getInstance();

    int  packet(uint8_t* data, int& len, LINK_REQUEST_TYPE type, uint16_t heartbeat_interval, int start = 0);
    int  unpack(uint8_t* data, int& len, int start = 0);
};




#endif /* __LINK_RESPONSE_H__ */